/**
 * createUser:JAVA_TOM
 * FileName: userContrllor
 * Author:   14562
 * Date:     2019/1/9 20:42
 * Description:
 */
package com.javatom.zwl.shop_cart;

import com.javatom.zwl.shop_bean.userInfoBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class userContrllor {

    @GetMapping("user")
    public userInfoBean getUser() {
        userInfoBean bean = new userInfoBean();
        bean.setName("javatom");
        return bean;
    }
}
